package com.example.dakotanews.entity.comment;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("news_child_comment")
public class NewsChildComment {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer parentId;
    private Integer userId;
    private Integer repliedUserId;
    private String comment;
    private int supportNum;
    private LocalDateTime commitTime;

}
